<?php
return [
    'title' => '杭州稻道',
    'admin' => [
        'title' => '杭州稻道后台管理',
        'pageSize' => 20,
    ],
    'cacheTime' => 5,
    'items' => [
        "news" => [
            "name" => "新闻",
            "data" => [
                "title" => [
                    "name" => "新闻标题",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写标题",
                    "attribute" => "required"
                ],
                "types" => [
                    "name" => "新闻类型",
                    "type" => "select",
                    "value" => [
                        1 => "国内新闻",
                        2 => "国际新闻",
                        3 => "经济新闻",
                        4 => "科技新闻",
                    ],
                    'defalt'=>1,
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "活动图片",
                    "type" => "img",
                    "value" => "",
                    'defalt'=>1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "新闻简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                "content" => [
                    "name" => "新闻内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
        "active" => [
            "name" => "活动",
            "data" => [
                "name" => [
                    "name" => "活动名称",
                    "type" => "input",
                    "value" => "",
                    "defalt" => "作者很懒，没有写名称",
                    "attribute" => "required"
                ],
                "pic" => [
                    "name" => "活动图片",
                    "type" => "img",
                    "value" => "",
                    'defalt'=>1,
                    "attribute" => "required"
                ],
                "description" => [
                    "name" => "活动简介",
                    "type" => "textarea",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => ""
                ],
                "content" => [
                    "name" => "活动内容",
                    "type" => "UEdit",
                    "value" => "",
                    "defalt" => "作者啥都没写，就把它发出来了",
                    "attribute" => "required"
                ]
            ]
        ],
    ]
];